package com.huike.clues.mapper;


import com.huike.clues.domain.vo.ClueTrackRecordVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * 线索跟进记录Mapper接口
 * @date 2021-04-19
 */
public interface TbClueTrackRecordMapper {

    /**
     * 查询线索跟进记录列表
     * @param clueId
     * @return
     */
    List<Map<String, Object>> listClueTrackRecord(Long clueId);

    /**
     * 新增线索跟进记录
     * @param tbClueTrackRecord
     */
    void addClueTrackRecord(@Param("tb") ClueTrackRecordVo tbClueTrackRecord,@Param("username") String username);

}
